<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<title>飞腾会-FitaClub</title>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>
</head>
<!-- end header -->

<body>
  <div class="page-group">
    <div class="page page-current bg-light-gray">
      <header class="bar bar-nav fita-header">
        <a href="javascript:history.back(-1);" class="icon icon-left pull-left"></a> <a class="icon icon-menu pull-right open-panel"></a>
        <h1 class="title">瀚银支付测试</h1>
      </header>
      <div class="content">
        <!-- 测试url <form action="http://180.168.61.86:27380/hpayTransGatewayWeb/trans/debit.htm" method="POST"> -->
        <form action="https://gateway.handpay.cn/hpayTransGatewayWeb/trans/debit.htm" method="POST">
          <div class="list-block">
            <ul>
              <li>
                  <div class="item-content">
                    <div class="item-inner">
                      <div class="item-title label">frontUrl</div>
                      <div class="item-input">
                        <input type="text" name="frontUrl" value="http://www.fita-club.com/fita-wechat/shopping/handpay-success">
                      </div>
                    </div>
                  </div>
                </li>
              <!-- Text inputs -->
              <c:forEach var="item" items="${payConfig}">
                <li>
                  <div class="item-content">
                    <div class="item-inner">
                      <div class="item-title label">${item.key}</div>
                      <div class="item-input">
                        <input type="text" name="${item.key}" value="${item.value}">
                      </div>
                    </div>
                  </div>
                </li>
              </c:forEach>
            </ul>
          </div>
          <div class="content-block">
            <div class="row">
              <div class="col-50">
                <button type="button" class="button button-big button-fill button-danger">取消</button>
              </div>
              <div class="col-50">
                <button type="submit" class="button button-big button-fill button-success">提交</button>
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <%@ include file="/WEB-INF/include/script.jsp"%>
</body>
</html>